package com.lhz.executor;

import com.lhz.model.entity.JobExecutorContext;

import java.util.Map;

/**
 * @Author: LiHuaZhi
 * @Date: 2021/8/7 14:59
 * @Description:
 **/
public interface JobExecutor {
    /**
     * 任务执行方法
     *
     * @param context
     */
    void run(JobExecutorContext context);

    boolean check(JobExecutorContext context);
}
